Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4499103
ant.ts
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
919 B
Referenced Files
None
Subscribers
None
ant.ts
View Options
Ant
.
version
=
import
.
meta
.
env
.
VERSION
;
Ant
.
target
=
import
.
meta
.
env
.
TARGET
;
Ant
.
revision
=
import
.
meta
.
env
.
GIT_HASH
;
Ant
.
buildDate
=
import
.
meta
.
env
.
BUILD_TIMESTAMP
;
Ant
.
host
=
import
.
meta
.
env
.
HOST
as
AntHost
;
Ant
.
typeof
=
function
(
t
)
{
const
value
=
Ant
.
raw
.
typeof
(
t
);
const
types
=
{
T_OBJ
:
'object'
,
T_PROP
:
'prop'
,
T_STR
:
'string'
,
T_UNDEF
:
'undefined'
,
T_NULL
:
'null'
,
T_NUM
:
'number'
,
T_BOOL
:
'boolean'
,
T_FUNC
:
'function'
,
T_CODEREF
:
'coderef'
,
T_CFUNC
:
'cfunc'
,
T_ERR
:
'err'
,
T_ARR
:
'array'
,
T_PROMISE
:
'promise'
,
T_TYPEDARRAY
:
'typedarray'
,
T_BIGINT
:
'bigint'
,
T_PROPREF
:
'propref'
,
T_SYMBOL
:
'symbol'
,
T_GENERATOR
:
'generator'
,
T_FFI
:
'ffi'
,
T_NTARG
:
'ntarg'
}
as
const
;
const
names
=
Object
.
values
(
types
);
return
value
<
names
.
length
?
names
[
value
]
:
'??'
;
};
Ant
.
inspect
=
(...
args
)
=>
console
.
inspect
(...
args
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 7:55 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
539747
Default Alt Text
ant.ts (919 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment