node_modules/@discordjs/builders/dist/messages/embed/Embed.js
/**
     * Normalizes field input and resolves strings.
     * @param fields Fields to normalize.
     */
Normalizes field input and resolves strings.
@param fields Fields to normalize.
Normalizes field input and resolves strings . @param fields Fields to normalize .
static normalizeFields(...fields) {
        return fields.flat(Infinity).map((field) => {
            ow_1.default(field.name, 'field name', Assertions_1.fieldNamePredicate);
            ow_1.default(field.value, 'field value', Assertions_1.fieldValuePredicate);
            ow_1.default(field.inline, 'field inline', Assertions_1.fieldInlinePredicate);
            return { name: field.name, value: field.value, inline: field.inline ?? undefined };
        });
    }
static normalizeFields ( ... fields ) { return fields . flat ( Infinity ) . map ( ( field ) => { ow_1 . default ( field . name , 'field name' , Assertions_1 . fieldNamePredicate ) ; ow_1 . default ( field . value , 'field value' , Assertions_1 . fieldValuePredicate ) ; ow_1 . default ( field . inline , 'field inline' , Assertions_1 . fieldInlinePredicate ) ; return { name : field . name , value : field . value , inline : field . inline ?? undefined } ; } ) ; }
Normalizes field input and resolves strings.
Normalizes field input and resolves strings .