jamespot-user-api
Preparing search index...
jEnsure
Variable jEnsure
Const
jEnsure
:
{
isAbortApiError
:
(
err
:
any
)
=>
err
is
AbortApiError
;
isBookmarkCustom
:
(
bookmark
:
|
BookmarkLink
|
{
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkUrl
?:
string
|
null
;
}
,
)
=>
bookmark
is
{
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkUrl
?:
string
|
null
;
}
;
isBookmarkLink
:
(
bookmark
:
|
BookmarkLink
|
{
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkUrl
?:
string
|
null
;
}
,
)
=>
bookmark
is
BookmarkLink
;
isBookmarkRawList
:
(
bookmark
:
|
jObjectBase
|
{
_src
?:
jObjectLittle
|
UserLittle
|
jUserLittle
;
_target
?:
jObjectLittle
|
UserLittle
|
jUserLittle
;
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkOrder
?:
number
;
bookmarkUrl
?:
string
|
null
;
dateCreation
?:
string
;
dateModified
?:
string
|
null
;
id
:
number
;
mainType
:
string
;
srcId
:
number
;
srcType
:
string
;
targetId
:
number
;
targetType
:
string
|
null
;
type
:
"bookmarkLink"
;
uri
:
string
;
url
?:
string
|
null
;
value
:
string
|
null
;
}
,
)
=>
bookmark
is
{
_src
?:
jObjectLittle
|
UserLittle
|
jUserLittle
;
_target
?:
jObjectLittle
|
UserLittle
|
jUserLittle
;
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkOrder
?:
number
;
bookmarkUrl
?:
string
|
null
;
dateCreation
?:
string
;
dateModified
?:
string
|
null
;
id
:
number
;
mainType
:
string
;
srcId
:
number
;
srcType
:
string
;
targetId
:
number
;
targetType
:
string
|
null
;
type
:
"bookmarkLink"
;
uri
:
string
;
url
?:
string
|
null
;
value
:
string
|
null
;
}
;
isStandardApiError
:
(
err
:
any
)
=>
err
is
StandardApiError
;
isTVChannelType
:
<
Type
extends
keyof
ChannelsTypes
>
(
channel
:
TVChannelList
,
type
:
Type
,
)
=>
channel
is
ChannelsTypes
[
Type
]
;
objectIsType
:
<
T
extends
"bookmarkLink"
>
(
type
:
T
,
object
:
jObjectBase
,
)
=>
object
is
jObjectTypes
[
T
]
;
}
= ...
Type Declaration
isAbortApiError
:
(
err
:
any
)
=>
err
is
AbortApiError
isBookmarkCustom
:
(
bookmark
:
|
BookmarkLink
|
{
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkUrl
?:
string
|
null
;
}
,
)
=>
bookmark
is
{
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkUrl
?:
string
|
null
;
}
isBookmarkLink
:
(
bookmark
:
|
BookmarkLink
|
{
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkUrl
?:
string
|
null
;
}
,
)
=>
bookmark
is
BookmarkLink
isBookmarkRawList
:
(
bookmark
:
|
jObjectBase
|
{
_src
?:
jObjectLittle
|
UserLittle
|
jUserLittle
;
_target
?:
jObjectLittle
|
UserLittle
|
jUserLittle
;
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkOrder
?:
number
;
bookmarkUrl
?:
string
|
null
;
dateCreation
?:
string
;
dateModified
?:
string
|
null
;
id
:
number
;
mainType
:
string
;
srcId
:
number
;
srcType
:
string
;
targetId
:
number
;
targetType
:
string
|
null
;
type
:
"bookmarkLink"
;
uri
:
string
;
url
?:
string
|
null
;
value
:
string
|
null
;
}
,
)
=>
bookmark
is
{
_src
?:
jObjectLittle
|
UserLittle
|
jUserLittle
;
_target
?:
jObjectLittle
|
UserLittle
|
jUserLittle
;
bookmarkLabel
?:
string
;
bookmarkMeta
?:
string
|
null
;
bookmarkOrder
?:
number
;
bookmarkUrl
?:
string
|
null
;
dateCreation
?:
string
;
dateModified
?:
string
|
null
;
id
:
number
;
mainType
:
string
;
srcId
:
number
;
srcType
:
string
;
targetId
:
number
;
targetType
:
string
|
null
;
type
:
"bookmarkLink"
;
uri
:
string
;
url
?:
string
|
null
;
value
:
string
|
null
;
}
isStandardApiError
:
(
err
:
any
)
=>
err
is
StandardApiError
isTVChannelType
:
<
Type
extends
keyof
ChannelsTypes
>
(
channel
:
TVChannelList
,
type
:
Type
,
)
=>
channel
is
ChannelsTypes
[
Type
]
objectIsType
:
<
T
extends
"bookmarkLink"
>
(
type
:
T
,
object
:
jObjectBase
,
)
=>
object
is
jObjectTypes
[
T
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
jamespot-user-api
Loading...