Preparing search index...
The search index is not available matrix-js-sdk
Class NamespacedValue<S, U>
Type Parameters
S extends string
U extends string
Constructors
constructor
new Namespaced Value< S , U > ( stable: S , unstable: U ) : NamespacedValue < S , U >
Type Parameters
S extends string
U extends string
new Namespaced Value< S , U > ( stable: S , unstable?: U ) : NamespacedValue < S , U >
Type Parameters
S extends string
U extends string
Parameters
stable: S
Optional
unstable: U
new Namespaced Value< S , U > ( stable: undefined | null , unstable: U ) : NamespacedValue < S , U >
Type Parameters
S extends string
U extends string
Parameters
stable: undefined | null
unstable: U
Properties
Optional
Readonly
stable
stable?: null | S
Optional
Readonly
unstable
unstable?: U
Accessors
alt Name
get altName( ) : undefined | null | S | U
Returns undefined | null | S | U
name
get name( ) : S | U
Returns S | U
names
get names( ) : ( S | U ) []
Returns ( S | U ) []
Methods
find In
find In< T > ( obj: any ) : Optional < T >
Returns Optional < T >
included In
included In( arr: any [] ) : boolean
Returns boolean
matches
matches( val: string ) : boolean
Returns boolean
Represents a simple Matrix namespaced value. This will assume that if a stable prefix is provided that the stable prefix should be used when representing the identifier.