mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-24 15:16:30 +09:00
Remove strConcat function
This commit is contained in:
parent
4747ae8b61
commit
ca6fc9cd79
@ -1953,10 +1953,6 @@ pages:
|
||||
strReverse: "テキストを反転"
|
||||
_strReverse:
|
||||
arg1: "テキスト"
|
||||
strConcat: "2つのテキストを連結"
|
||||
_strConcat:
|
||||
arg1: "テキスト1"
|
||||
arg2: "テキスト2"
|
||||
join: "テキストを連結"
|
||||
_join:
|
||||
arg1: "リスト"
|
||||
|
@ -80,7 +80,6 @@ const funcDefs = {
|
||||
strPick: { in: ['string', 'number'], out: 'string', category: 'text', icon: faQuoteRight, },
|
||||
strReplace: { in: ['string', 'string', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
|
||||
strReverse: { in: ['string'], out: 'string', category: 'text', icon: faQuoteRight, },
|
||||
strConcat: { in: ['string', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
|
||||
join: { in: ['stringArray', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
|
||||
stringToNumber: { in: ['string'], out: 'number', category: 'convert', icon: faExchangeAlt, },
|
||||
numberToString: { in: ['number'], out: 'string', category: 'convert', icon: faExchangeAlt, },
|
||||
@ -500,7 +499,6 @@ export class AiScript {
|
||||
strPick: (a, b) => a[b - 1],
|
||||
strReplace: (a, b, c) => a.split(b).join(c),
|
||||
strReverse: (a) => a.split('').reverse().join(''),
|
||||
strConcat: (a, b) => a + b,
|
||||
join: (texts, separator) => texts.join(separator || ''),
|
||||
stringToNumber: (a) => parseInt(a),
|
||||
numberToString: (a) => a.toString(),
|
||||
|
Loading…
Reference in New Issue
Block a user