Properties
can
can: function
Type declaration
-
- (acl: string, defaultValue?: boolean): boolean
-
Parameters
-
acl: string
-
Optional defaultValue: boolean
Returns boolean
has
has: function
Type declaration
-
-
Parameters
Returns boolean
isDirVisible
isDirVisible: function
Type declaration
-
- (dir: string, withDot: boolean): PromiseLike<boolean>
-
Parameters
-
dir: string
-
withDot: boolean
Returns PromiseLike<boolean>
isFileVisible
isFileVisible: function
Type declaration
-
- (file: string, withDot: boolean): PromiseLike<boolean>
-
Parameters
-
file: string
-
withDot: boolean
Returns PromiseLike<boolean>
Methods
get
- get<T>(name: string, defaultValue?: T): T
-
Type parameters
Parameters
-
name: string
-
Optional defaultValue: T
Returns T
The value.
set
- set<T>(name: string, value: T): User
-
Type parameters
Parameters
An user.