↑: [[pythonのfloat(n)は1e10を許容する|1/1]] - 完全に数字のみ判定するなら正規表現を使うのが良い ```python import re def is_int(n): int_pattern = re.compile(r'^-?\d+) return int_pattern.match(n) ``` - 正規表現の意味 - `^`:先頭 - `-?`マイナスが0文字か1文字 - `\d+`数字が1つ以上連続している - `
: 終端 %% DATAVIEW_PUBLISHER: start ```dataview TABLE WITHOUT ID file.link as child, id from "zk/core" where meta(parent_id).display = this.id SORT id ASC ``` %% | child | id | | ----- | -- | %% DATAVIEW_PUBLISHER: end %%