Preparing search index...
The search index is not available
Subsocial JS SDK
Subsocial JS SDK
utils/src
isDefined
Function isDefined
is
Defined
<
T
>
(
x
?:
T
)
:
x
is
T
Type Parameters
T
Parameters
Optional
x:
T
Returns
x
is
T
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
Subsocial JS SDK
api/src/subsocial
api/src/substrate
utils/src
new
Logger
Allow
Embed
List
Any
Id
Has
Title
Or
Body
Levels
Link
Label
Relative
Time
Props
Subsocial
Date
Locale
Props
Tweet
Post
Content
I18
N_
DAYJS_
RELATIVE_
TIME_
KEY
Sub
Date
allow
Embed
List
relative
Time
Units
as
String
as
String
Array
balance
With
Decimal
bn
To
Id
bns
To
Ids
build
Md
To
Entity
convert
To
Balance
With
Decimal
create
Post
Slug
create
TwitterURL
extract
Video
Id
format
Balance
Without
Decimals
get
Embed
Url
get
First
Or
Default
get
First
Or
Undefined
get
Link
Brand
get
Post
Id
From
Slug
id
To
Bn
ids
To
Bns
is
Def
is
Defined
is
Empty
Array
is
Empty
Obj
is
Empty
Str
is
Num
is
Obj
is
Social
Brand
Link
is
Str
md
To
Html
md
To
Text
new
Logger
non
Empty
Arr
non
Empty
Str
not
Def
not
Defined
not
Empty
Obj
not
Obj
parse
Domain
parse
Num
Str
parse
Twitter
Text
To
Markdown
pluralize
simple
Format
Balance
summarize
summarize
Md
to
Short
Money
to
Subsocial
Address