-
Notifications
You must be signed in to change notification settings - Fork 1
API
Kito Kurone (黒音キト) edited this page Jun 7, 2020
·
4 revisions
Get detailed information on personality
dantalion detail 555
import { getDetail } from '@kurone-kito/dantalion-core';
// const { getDetail } = require('@kurone-kito/dantalion-core');
console.log(getDetail('555'));
dantalion detail [genius]
type getDetail = (genius: Genius) => Detail | undefined;
- genius: The types of personality
Detailed information on personality.
(CLI only): If the param is invalid, it will be available arguments list.
(Library only): If the param is invalid, it will be undefined
.
Get the personality information corresponding to the specified birthday.
dantalion personality 1993-10-09
import { getPersonality } from '@kurone-kito/dantalion-core';
// const { getPersonality } = require('@kurone-kito/dantalion-core');
getPersonality('1993-10-09');
dantalion personality <birthday>
type getPersonality = (
birthday: string | number | Date
) => Personality | undefined;
-
birthday
: Specify a birthday within the range from February 1, 1873, to December 31, 2050. Ignore the time information.
The object that the personality information. If the date is over the range, it will be undefined
.